package com.ruoyi.project.system.info.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户信息管理对象 user_info
 * 
 * @author ruoyi
 * @date 2023-07-05
 */
public class UserInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long iid;

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String userName;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String userRealName;

    /** 角色 */
    @Excel(name = "角色")
    private Long role;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String userEmail;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 生日 */
    @Excel(name = "生日")
    private String birthYear;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userImg;

    public void setIid(Long iid)
    {
        this.iid = iid;
    }

    public Long getIid()
    {
        return iid;
    }
    public void setUserName(String userName)
    {
        this.userName = userName;
    }

    public String getUserName()
    {
        return userName;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getPassword()
    {
        return password;
    }
    public void setUserRealName(String userRealName)
    {
        this.userRealName = userRealName;
    }

    public String getUserRealName()
    {
        return userRealName;
    }
    public void setRole(Long role)
    {
        this.role = role;
    }

    public Long getRole()
    {
        return role;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setUserEmail(String userEmail)
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail()
    {
        return userEmail;
    }
    public void setSex(String sex)
    {
        this.sex = sex;
    }

    public String getSex()
    {
        return sex;
    }
    public void setBirthYear(String birthYear)
    {
        this.birthYear = birthYear;
    }

    public String getBirthYear()
    {
        return birthYear;
    }
    public void setUserImg(String userImg)
    {
        this.userImg = userImg;
    }

    public String getUserImg()
    {
        return userImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iid", getIid())
            .append("userName", getUserName())
            .append("password", getPassword())
            .append("userRealName", getUserRealName())
            .append("role", getRole())
            .append("telephone", getTelephone())
            .append("userEmail", getUserEmail())
            .append("sex", getSex())
            .append("birthYear", getBirthYear())
            .append("userImg", getUserImg())
            .toString();
    }
}
